package com.elitel.frame.main.dao;

import com.elitel.frame.main.entity.acappcatalog.AcAppCatalog;
import com.elitel.frame.main.entity.acappcatalog.AcAppCatalogExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AcAppCatalogMapper {
    long countByExample(AcAppCatalogExample example);

    int deleteByExample(AcAppCatalogExample example);

    int deleteByPrimaryKey(String catalogId);

    int insert(AcAppCatalog record);

    int insertSelective(AcAppCatalog record);
    List<AcAppCatalog> selectByExample(AcAppCatalogExample example);

    AcAppCatalog selectByPrimaryKey(String catalogId);

    int updateByExampleSelective(@Param("record") AcAppCatalog record, @Param("example") AcAppCatalogExample example);

    int updateByExample(@Param("record") AcAppCatalog record, @Param("example") AcAppCatalogExample example);

    int updateByPrimaryKeySelective(AcAppCatalog record);

    int updateByPrimaryKey(AcAppCatalog record);
}